-- GENERATED SPELL FOR [Dread Flyer] --


function spell0_4693(pUnit, Event) --@Disarm,n/a--
pUnit:FullCastSpellOnTarget(6713,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_4693', 5312, 1)
end

function Sorts_4693(pUnit, Event)
local choix_sorts_4693 = math.random(0, 0)
if choix_sorts_4693 == 0 then
pUnit:RegisterEvent('spell0_4693', 1, 1)
end
end

function mob4693_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4693', math.random(1500, 3000), 1)
end

function mob4693_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4693_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4693_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4693, 1, 'mob4693_Action')
RegisterUnitEvent(4693, 2, 'mob4693_Leave')
RegisterUnitEvent(4693, 3, 'mob4693_Kill')
RegisterUnitEvent(4693, 4, 'mob4693_Die')
